package com.baizhi.springbootshiro.mapper;

import com.baizhi.springbootshiro.entity.Role;
import com.baizhi.springbootshiro.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author chenzy
 * @since 2020-10-08
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    /**
     * 1
     *
     * @param uName
     * @return
     */
    User getRoles(@Param("uName") String uName);
}
